package com.anti.commom.constant;

/**
 * SpringSecurity相关常量
 */
public interface SpringSecurityConstant {

    /**
     * 放开权限校验的接口
     */
    String[] NONE_SECURITY_URL_PATTERNS = {
            //前端的
            "/favicon.ico",
            "/login.jsp",
            "/failer.jsp",
            "/css/**",
            "/img/**",
            "/static/**",
            "/plugins/**",

            //swagger相关的
            "/doc.html",
            "/webjars/**",
            "/swagger-resources/**",
            "/v2/api-docs",
            "/v2/api-docs-ext",
            "/configuration/ui",
            "/configuration/security",

            //后端的
            "/",
            "/**",
            "/login",
            "/index",
            "/topmenu/**",
            "/test/**",
            "/logout",
            "/validationCode/**",
            "/getCaptchaOpen",
            //druid的
            "/druid/**",
            "/global/sessionError",
            "/404",
            "/403",
            "/500"
    };

}
